package com.platform.core.entity;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Description: 实体类
 *
 * @author Coder
 */
@Setter
@Getter
@Entity
@Table(name = "cd_com_manage")
public class CdComManageEntity implements Serializable {

    /**
    * id
    */
    @Id
    @GenericGenerator(name = "system-uuid", strategy = "uuid")
    @GeneratedValue(generator = "system-uuid")
    private String id;

    /**
    * 企业名称
    */
    @Column(name = "com_name" )
    private String comName;

    /**
    * 联系方式
    */
    @Column(name = "tel" )
    private String tel;

    /**
    * 1:启用；0:禁用
    */
    @Column(name = "flag" )
    private String flag;

    /**
    * 序号
    */
    @Column(name = "sort_num" )
    private Long sortNum;

}
